package com.ym.medical.domain.entity;

import com.ym.common.constant.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.Table;
import java.math.BigDecimal;
import java.util.Date;

/**
 * 医生派单权重对象 doctor_weight
 *
 * @author ym
 * @date 2020-08-24
 */
@ApiModel("医生派单权重-实体")
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@Table(name = "doctor_weight")
public class DoctorWeightEntity extends BaseEntity {

	private static final long serialVersionUID = 1L;

	/**
	 * $column.columnComment
	 */
	@ApiModelProperty("$column.columnComment")
	private Long doctorId;

	/**
	 * 01响应速度、02评价等级、03职称级别、04爽约
	 */
	@ApiModelProperty("01响应速度、02评价等级、03职称级别、04爽约")
	private String weightType;

	/**
	 * $column.columnComment
	 */
	@ApiModelProperty("$column.columnComment")
	private BigDecimal weightValue;

	/**
	 * $column.columnComment
	 */
	@ApiModelProperty("$column.columnComment")
	private Date updateTime;

}
